package com.itheima.thread.utils.semaphore.demo01;

public class SemaphoreThreadDemo {

    public static void main(String[] args) {

        SemaphoreThread semaphoreThread = new SemaphoreThread();

        for (int i = 0; i < 5; i++) {
            new Thread(semaphoreThread).start();
        }
    }
}
